#include <binder/ProcessState.h>
#include <binder/IPCThreadState.h>
#include <binder/IServiceManager.h>

#include "DtvService.h"

using namespace android;

int main(int argc,char *argv[])
{
	defaultServiceManager()->addService(
		String16("DtvService"),
		new DtvService());
	
	ProcessState::self()->startThreadPool();
	IPCThreadState::self()->joinThreadPool();
	return 0;
}

